<template>
  <h2>人工智能中的算法</h2>
  <h3>(人工智能助力老人就医)</h3>
  <div class="container">
    <el-button type="primary" size="large" :icon="Search" @click="goUrl('daozhen')">智能导诊程序</el-button>
    <!-- <el-button size="large" :icon="Search" @click="goUrl('extree')">寻找最短路径</el-button> -->
    <el-button size="large" :icon="Clock" @click="goUrl('denghao')">智能等号程序</el-button>
  </div>
</template>

<script setup>
import { ref, onMounted } from "vue";
import { Search,Clock} from '@element-plus/icons-vue'
import { useRouter } from 'vue-router'
const router = useRouter()

const goUrl = (name) => {
  router.push({name:name})
};
</script>

<style lang="scss" scoped>
h2{
  margin-top:30vh;
}
h3{font-family: '楷体';margin:10px auto 40px;}
</style>